# @Author:      me
# 文件创建日期:    2023-07-04 16:25
# 当前文件:       workspace/operator_demo.py

# 符合赋值
# a = 2
# b = 10
# a **= b
# print(a)
# #比较及运算
# print(type(a == b))
# print(10>a>b)#(10>a and a>b)
#
# #逻辑运算符
# print(10>1 and True)
# print((10>1 and ((10>1 and True) and True)) and True)
# print((False or ((10>1 and True) and True)) and True)

#制表符tab==空格*4


#     0            2           3            3                7
a= (not 1) or (1 and 2) or (2 and 3) or ( 3 or 4) or (5 and 6 and 7) or (7 or 8 and 9 and not 1)



print(7 or 8 and 9 and not 1)

print(a)





